﻿using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Newtonsoft.Json.Linq;

namespace CLVisionEICS
{
    [Serializable]
    internal class DataGridComment 
    {
        private LanguageComment _languageComments;

        public LanguageComment LanguageComments
        {
            get { return _languageComments; }
            set
            {
                _languageComments = value;
               
            }
        }



        public ObservableCollection<object> ValueList { get; set; }

        public DataGridComment()
        {
            LanguageComments = new LanguageComment();
            ValueList = new ObservableCollection<object>();
        }



        public DataGridComment Clone()
        {
            // 创建一个新的 DataGridComment 对象并复制属性
            return new DataGridComment
            {
                LanguageComments = this.LanguageComments,
                ValueList = this.ValueList
            };
        }
    }

    [Serializable]
    internal class LanguageComment 
    {

        private Dictionary<string, string> _languageCommentsDic;
        public Dictionary<string, string> LanguageCommentsDic
        {
            get { return _languageCommentsDic; }
            set { _languageCommentsDic = value; }
        }


        public LanguageComment()
        {
            _languageCommentsDic = new Dictionary<string, string>();
        }

        public LanguageComment Clone()
        {
            // 创建一个新的 DataGridComment 对象并复制属性
            return new LanguageComment
            {
                LanguageCommentsDic = this.LanguageCommentsDic
            };
        }
    }
}
